#导包
from rest_framework import serializers

#用户类的序列器
from myapp.models import User


class UserSer(serializers.ModelSerializer):

    class Meta:
        model = User
        fields = '__all__'